package apiooday02;

import java.util.Arrays;

public class SplitDemo {
    public static void main(String[] args) {
        String line=".12ss3.456..798";
        String[] data=line.split("[\\.]+");
        System.out.println(Arrays.toString(data));

        String line1="123asd123asd456asd132";
        String[] data1=line1.split("[0-9]+");
        System.out.println(Arrays.toString(data1));
        System.out.println(data1.length);

        String[] arr={"1","2"};
        System.out.println(Arrays.toString(arr));
    }

}
